﻿using ZFramework.Runtime.WebRequest;

namespace ZGame
{
    public static class WebRequestExtension
    {
        public static void AddJsonWebRequest(this WebRequestManager webRequestManager, string webRequestUri, byte[] postData, int priority,
            object userData = null)
        {
            webRequestManager.AddWebRequest(webRequestUri, postData, "application/json;charset=utf-8", priority, userData);
        }
    }
}